import Taro, { Component, Config } from '@tarojs/taro'
import { View, Text } from '@tarojs/components'
import './index.less'
import ItemContainer  from '../../components/itemContainer/index'
import { initData } from '../../utils/answer-helper';

export default class Item extends Component {
  componentWillMount () {}

  componentDidMount () { 
  }

  componentWillUnmount () { 

  }

  componentDidShow () {
    initData()
  }

  componentDidHide () { }

  render () {
    const fatherComponent = 'item'
    return (
      <View className='index'>
           <ItemContainer fatherComponent={fatherComponent}></ItemContainer>
      </View>
    )
  }
}
